package com.kly.user.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class UserChangeDto implements Serializable {
    private static final long serialVersionUID = 4732040771448347135L;
    /**
     * 用户昵称
     */
    @NotNull(message = "nickName cannot be empty")
    private String nickName;
    /**
     * 性向
     */
    @NotNull(message = "lookingFor cannot be empty")
    private Integer lookingFor;
    /**
     * 头像地址
     */
    @NotNull(message = "avatarUrl cannot be empty")
    private String avatarUrl;

    /**
     * 性别 0未知、1男、2女、3武装直升机
     */
    @NotNull(message = "gender cannot be empty")
    private Integer gender;

    /**
     * 生日
     */
    @NotNull(message = "birthday cannot be empty")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM/dd/yyyy")
    private Date birthday;

    /**
     * 用户码
     */

    private String aboutMe;
    @NotNull(message = "images cannot be empty")
    private List<String> images;

    private List<ImagesDto> imagesV2;

    private List<String> interests;

    private String socialConnections;

    private String height;

    private boolean hideHeight;

    private Integer constellation;

    private List<Integer> turnOnsList;

    /**
     * I want选项, 单选，必填
     */
    private Integer iWant;

    /**
     * You accept选项, 多选，可选
     */
    private List<Integer> youAccept;

    /**
     * body shape选项, 多选，可选
     */
    private List<Integer> bodyShape;


}
